Skip to content

Support embedding NewChatInputWidget in alternate surfaces - #329113

Merged
Ben Villalobos (benvillalobos) merged 5 commits into
mainfrom
bv/new-chat-input-embedding
Aug 5, 2026
Merged

Support embedding NewChatInputWidget in alternate surfaces#329113
Ben Villalobos (benvillalobos) merged 5 commits into
mainfrom
bv/new-chat-input-embedding

Conversation

@benvillalobos

@benvillalobos Ben Villalobos (benvillalobos) commented Aug 5, 2026

Copy link
Copy Markdown
Member

Adds reusable configuration points needed to embed NewChatInputWidget in alternate composer surfaces while preserving the default new-session behavior.

Summary

  • Allow callers to configure the session-type picker through sessionTypePickerOptions.
  • Allow provider-contributed session controls to be moved into a caller-owned container through renderSessionControls().
  • Allow callers to omit the send button through renderSendButton.

Testing

  • npm run precommit

cc Sandeep Somavarapu (@sandy081)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds configuration hooks for embedding NewChatInputWidget in alternate composer surfaces.

Changes:

  • Configures the session-type picker.
  • Supports relocating session controls.
  • Allows hiding the built-in send button.
Show a summary per file
File Description
src/vs/sessions/contrib/chat/browser/newChatInput.ts Adds reusable picker, controls, and send-button options.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread src/vs/sessions/contrib/chat/browser/newChatInput.ts Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benvillalobos
Ben Villalobos (benvillalobos) marked this pull request as ready for review August 5, 2026 21:14
@benvillalobos
Ben Villalobos (benvillalobos) merged commit 04e08bc into main Aug 5, 2026
29 checks passed
@benvillalobos
Ben Villalobos (benvillalobos) deleted the bv/new-chat-input-embedding branch August 5, 2026 23:18
@vs-code-engineering vs-code-engineering Bot added this to the 1.133.0 milestone Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants